package ModelLayer.OrdreMappe;


/**
 * Write a description of class Udlejning here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Udlejning extends Ordre
{
    private String periode;
    
    /**
     * Constructor for objects of class Udlejning
     */
    public Udlejning(int nr, String newPeriode)
    {
        super(nr);
        periode = newPeriode;
        setOrdreType("udlejning");
    }

    public void setPeriode(String newPeriode)
    {
        periode = newPeriode;
    }
    
    public String getPeriode()
    {
        return periode;
    }
}
